//该文件用于创建Vuex中最为核心的store
import Vue from 'vue'
//引入Vuex
import Vuex from 'vuex'
import homeAbout from './home'
import imageAbout from './image'
import letterAbout from './letter'
import talkAbout from './talk'
import userAbout from './user'
import studyAbout from './study'
//应用Vuex插件
Vue.use(Vuex)

//创建并暴露store
export default new Vuex.Store({
	modules:{
		homeAbout,
		imageAbout,
		letterAbout,
		talkAbout,
		userAbout,
		studyAbout,
	}
})